﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Strive.DataAccess;

namespace OTA.Notification.Entity.Dictionary
{
    #region OTA_DICTIONARY
    /// <summary>
    /// 
    /// </summary>
    [Serializable]
    [Table(Name = "OTA_DICTIONARY")]
    public class OTA_DICTIONARY
    {
        private int? _ID;
        private Decimal? _PARENT_ID;
        private string _PARENT_CODE;
        private string _CODE;
        private string _NAME;
        private int? _VALUE;
        private string _TYPE;
        private bool? _IS_COMMON;
        private Decimal? _SEQUENCE;
        private string _DESCRIPTION;
        private string _CREATE_ON;
        private DateTime? _CREATE_TIME;
        private DateTime? _LAST_UPDATE_TIME;
        private string _LAST_UPDATE_ON;



        


        



        #region 公共属性


        /// <summary>
        /// 
        /// </summary>
        [Column(Name ="ID"),ID,PK]
        public int? ID
        {
            get { return _ID; }
            set { _ID = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        [Column(Name ="PARENT_ID")]
        public Decimal? PARENT_ID
        {
            get { return _PARENT_ID; }
            set { _PARENT_ID = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        [Column(Name ="PARENT_CODE")]
        public string PARENT_CODE
        {
            get { return _PARENT_CODE; }
            set { _PARENT_CODE = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        [Column(Name ="CODE")]
        public string CODE
        {
            get { return _CODE; }
            set { _CODE = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        [Column(Name ="NAME")]
        public string NAME
        {
            get { return _NAME; }
            set { _NAME = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        [Column(Name ="VALUE")]
        public int? VALUE
        {
            get { return _VALUE; }
            set { _VALUE = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        [Column(Name ="TYPE")]
        public string TYPE
        {
            get { return _TYPE; }
            set { _TYPE = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        [Column(Name ="IS_COMMON")]
        public bool? IS_COMMON
        {
            get { return _IS_COMMON; }
            set { _IS_COMMON = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        [Column(Name ="SEQUENCE")]
        public Decimal? SEQUENCE
        {
            get { return _SEQUENCE; }
            set { _SEQUENCE = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        [Column(Name ="DESCRIPTION")]
        public string DESCRIPTION
        {
            get { return _DESCRIPTION; }
            set { _DESCRIPTION = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        [Column(Name ="CREATE_ON")]
        public string CREATE_ON
        {
            get { return _CREATE_ON; }
            set { _CREATE_ON = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        [Column(Name ="CREATE_TIME")]
        public DateTime? CREATE_TIME
        {
            get { return _CREATE_TIME; }
            set { _CREATE_TIME = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        [Column(Name ="LAST_UPDATE_TIME")]
        public DateTime? LAST_UPDATE_TIME
        {
            get { return _LAST_UPDATE_TIME; }
            set { _LAST_UPDATE_TIME = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        [Column(Name = "LAST_UPDATE_ON")]
        public string LAST_UPDATE_ON
        {
            get { return _LAST_UPDATE_ON; }
            set { _LAST_UPDATE_ON = value; }
        }



        #endregion


    }
    #endregion
}
